package com.personal.dao.icp;

import com.personal.entity.icp.AltcItem;
import com.personal.entity.icp.AltcItemExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AltcItemMapper {
    @Select("select * from altc_item")
    List<AltcItem> getAllByPage();

    int countByExample(AltcItemExample example);

    int deleteByExample(AltcItemExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AltcItem record);

    int insertSelective(AltcItem record);

    List<AltcItem> selectByExample(AltcItemExample example);

    AltcItem selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AltcItem record, @Param("example") AltcItemExample example);

    int updateByExample(@Param("record") AltcItem record, @Param("example") AltcItemExample example);

    int updateByPrimaryKeySelective(AltcItem record);

    int updateByPrimaryKey(AltcItem record);
}